package com.cqupt.tr.edgenode.component;

import api.EdgeRequest;
import org.springframework.stereotype.Component;

import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedDeque;


@Component
public class TaskQueue {

private Queue<EdgeRequest> queue;

public TaskQueue(){
    queue = new ConcurrentLinkedDeque<>();
}



public Queue getQueue(){
    return queue;
}
}
